home *** CD-ROM | disk | FTP | other *** search
- Date: Sun, 12 Jun 94 15:43 CDT
- From: ekl@sdf.lonestar.org (Evan K. Langlois)
- To: gem-list@world.std.com
- Subject: Re: Hello everyone...
- Precedence: bulk
-
- I've been thinking alot about what's been said about KEYBOARD.SYS or
- SHORTCUT.SYS or whatever, the idea of a global short-cut file, etc.
- I'll have to agree with DMJ. This file is a good idea, and it makes all
- the arguing over who's "standards" to accept just wasted bandwidth as
- the user can select his or her own "standards".
-
- The name is definately wrong. TOS 5 will have disk loadable keyboard
- translation tables, and while I really don't know what the name of such
- a file would be, there is a good chance it will KEYBOARD.SYS, so this
- would be a bad name for a hot-key file. Also, the root directory is
- a bad idea. And, unlike DMJ, I don't want yet another enviroment variable.
- Enviroment variables are a real pain for configuration purposes since they
- get passed to EVERY application and they may never be needed.
-
- Therefore I would like to propose 2 different methods. 1-binary configuration
- of options. This means having various standard symbols in the executable
- header's symbol table which would point to a string that would be modified
- by a standard "install" or "config" program. By editing the "KEYPATH"
- symbol's data, you can have the application use ANY file or path as for the
- short-cut file. This means all apps could use the same file, or you could
- make lots of separate files for each program, and you can put them anywhere.
- You can also have symbols like "RSCPATH" , or "STKSIZE" for the stack size
- in case you want that changed, and perhaps a few more. A standard installation
- and configuration program would be highly useful and fairly easy to
- implement in C or Assembly (I have no idea if you can mess with GFA BASIC's
- symbol tables).
-
- The second method would be to have a standard directory for config files.
- Then an application could find read SHORTCUT.INF <<I recommend this as
- the name>> from this path as well as application specific configuration
- files or options that would normally be put in an enviroment variable,
- such as LHARC's default options that get stuck in an ENVIROMENT variable.
- Only really global things like PATH, maybe SHELL, and TERMCAP (for you
- MiNT users) should go in the enviroment. I don't think the enviroment is
- really the place for application specific information, but for GLOBAL
- information. TOSRUN would be another example of a good enviroment
- variable, and maybe the location of the configuration directory could be
- an enviroment variable, but not the configuration info itself.
-
- ABout the cookie jar. What are you going to put in there? It seems like
- a bad place, not because of space limitations or "wasting cookies" but
- because it just doesn't seem useful to have a cookie there. What for?
-
- CYA
- ekl@sdf.lonestar.org
-
-
-